﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using MaymuseMS.Models.ValueObject;

namespace MaymuseMS.Models {
    public class DepositoryItem {
        public int DepositoryItemId { get; set; }

        public int DepositoryId { get; set; }
        public virtual Depository Depository { get; set; }

        [Required]
        [MaxLength(100)]
        public string Number { get; set; }

        [MaxLength(300)]
        public string Location { get; set; }

        public double Count { get; set; }
    }
}